import {useIntersectionObserver} from '@vueuse/core';
export default (target:any,targetIsVisible:any)=>{
    useIntersectionObserver(
        target,
        ([{ isIntersecting }]) => {
          targetIsVisible.value = isIntersecting
          console.log('>>>',isIntersecting)
        },
        {
          threshold:0
        }
      )
}